import request from "@/utils/request";

// 查询医疗废弃物处置管理列列表
export function listWasteManage(query) {
  return request({
    url: "/zp/wasteManage/list",
    method: "get",
    params: query,
  });
}

// 查询医疗废弃物处置管理列详细
export function getWasteManage(id) {
  return request({
    url: "/zp/wasteManage/" + id,
    method: "get",
  });
}

// 新增医疗废弃物处置管理列
export function addWasteManage(data) {
  return request({
    url: "/zp/wasteManage",
    method: "post",
    data: data,
  });
}

// 修改医疗废弃物处置管理列
export function updateWasteManage(data) {
  return request({
    url: "/zp/wasteManage",
    method: "put",
    data: data,
  });
}

// 删除医疗废弃物处置管理列
export function delWasteManage(id) {
  return request({
    url: "/medical/wasteManage/" + id,
    method: "delete",
  });
}
